﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raona.Code.Contracts.Generation;

namespace Raona.Code.Contracts.EventArguments
{
    /// <summary>
    /// The arguments for the generation finished event
    /// </summary>
    public class GenerationResultEventArgs : EventArgs
    {
        #region Instance Properties (Public)

        /// <summary>
        /// Contains the generated files for each project
        /// </summary>
        /// <remarks>maps project name to the list of files to include in the project</remarks>
        public Dictionary<string, List<GeneratedFile>> GeneratedFiles { get; set; }
        /// <summary>
        /// The error ocurred during generation
        /// </summary>
        public Exception Error { get; set; }

        #endregion
    }
}
